﻿//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1998-2024 Glodon Company Limited.
//
// Licensed under the MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the “Software”),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//////////////////////////////////////////////////////////////////////////////
#pragma once

#include "GmPositioningElements.h"
#include "Intervald.h"
#include "Vector3d.h"
#include "ElementId.h"
#include "ElementCreationOptions.h"

namespace gcmp 
{
    // 轴网相关常数
    class GM_POSITIONING_ELEMENTS_EXPORT GridNewConstants
    {
    public:
        // DEFAULT_VERTICAL_EXTENTS = [-1000.0, 3000.0], 轴网默认竖向范围 
        static const Intervald DEFAULT_VERTICAL_EXTENTS;

        // TAG_DIAMETER = 10.0, 轴网标签直径
        static const double TAG_DIAMETER;

        // TAG_TEXT_HEIGHT = 3.5, 轴网标签字高
        static const double TAG_TEXT_HEIGHT;

        // DEFAULT_NAME = L"1", 轴网默认名称
        static const std::wstring DEFAULT_NAME;

        // INVALID_NAME_CHARSET = L"\\:{}[]|;<>?,，、’`~", 轴网名称非法字符集
        static const std::wstring INVALID_NAME_CHARSET;
    };
}// namespace gcmp
